/*
 * ImagenesDelegate.java
 *
 * Created on 26 de septiembre de 2006, 17:13
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.mensajesalertas.alertas.delegate;

import com.src.computec.mensajesalertas.alertas.dto.AlertaDto;
import com.src.computec.mensajesalertas.alertas.exception.AlertasException;
import com.src.computec.mensajesalertas.alertas.helper.AlertasHelper;
import com.src.computec.radar.base.delegate.BaseDelegate;
import java.util.List;


/**
 *
 * @author root
 */
public class AlertasDelegate extends BaseDelegate 
{
    private AlertasHelper alertasHelper;
    
    /** Creates a new instance of ImagenesDelegate */
    public AlertasDelegate() throws AlertasException {
        alertasHelper = new AlertasHelper();
    }
    
    public List getAlertasActivas(AlertaDto dto) throws AlertasException {
        return alertasHelper.getAlertasActivas(dto);
    }
    
    public void eliminarAlertas(List alertasEliminadas) throws AlertasException {
        alertasHelper.eliminarAlertas(alertasEliminadas);
    }
}
